Qualifying Context

The Qualifying Context restriction provides additional attributes for use with transactions that involve custom objects. Contact your SessionM Customer Success Representative for more information on setting up qualifying contexts for your loyalty program.

Events for which this is a core restriction

None.

Example

To promote environmentally conscious shopping, Green Harvest Organics offers members a reward of 100 points when they use their own reusable bags when shopping. To do this, the Qualifying Context restriction is added to the purchase rule.

When specifying a qualifying context restriction, if the key field in the context object of the event is missing or blank, the rule fails the event. Looking at the example above, if "reusable_bag" is not specified or is blank, the rule fails.